<?php
namespace app\back\controller;



class Index extends AdminCommon{



    ///桌面页
    public function index(){
        return view();
    }


    ///欢迎页
    public function welcome(){
        $version_info = \think\Db::query('select VERSION() as ver')[0] ?? [];
        $this->assign(['version_info'=>$version_info['ver']?? '未获取到数据']);
        return view();
    }

}